package com.twu.biblioteca;

/**
 * Created with IntelliJ IDEA.
 * User: PREETHI
 * Date: 26/5/13
 * Time: 10:19 PM
 * To change this template use File | Settings | File Templates.
 */
import java.util.*;
public class bookList {
    private List <book>books;
    public bookList()
    {
        books=new ArrayList<book>();
        book b=new book("Programming Pearls",101,"Jon Bentley",10,"Programming");
        books.add(b);
        b=new book("Head First Java",102,"Kathy Sierra",0,"Programming");
      books.add(b) ;
        b=new book("JavaScript:The good parts",103,"Douglas Crockford",5,"Programming");
        books.add(b) ;
        b=new book("Code Complete",104,"Steve McConnell",5,"Programming");
        books.add(b) ;
        b=new book("Refactoring: Improving the Design of Existing Code ",105,"Martin Fowler",5,"Programming");
        books.add(b) ;
        b=new book("Misery",201,"Stephen King",0,"Fiction");
        books.add(b);
        b=new book("The Shining",202,"Stephen King",6,"Fiction");
       books.add(b);
        b=new book("The Thirteenth Tale ",203,"Diane Setterfield",6,"Fiction");
        books.add(b);

        b=new book("The God Delusion",301,"Richard Dawkins",4,"Religion");
        books.add(b);
        b=new book("The Da Vinci Code",302,"Dan Brown",6,"Religion");
        books.add(b);
        b=new book("Angels and Demons",303,"Dan Brown",6,"Religion");
        books.add(b);
        b=new book("The Miracle of Forgiveness",304,"Spencer W. Kimball",6,"Religion");
        books.add(b);
        b=new book("The Tao of Pooh",305,"Benjamin Hoff",6,"Religion");
        books.add(b);
    }


    public List<book> getBookList() {
        return books;
    }


}
